<?php
//print_r($_POST);
$M = $_GET["m"];
if(isset($M))
{
$con=mysql_connect("localhost",'dmirror','123321');
// or die("connect db error");
switch ($M)
	{
	case "l":
		echo getPostInfo();
		break;
	default :break;
	}
}
 
function getPostInfo()
{
global $con;
$s = "select md5,post_id from posts_2 limit 0,100";
$re = mysql_query($s,$con) or die ($s);
//return print_r(mysql_fetch_row($re));
$row=mysql_fetch_array($re);
print_r($row);


}
?>